Software application updating in a local network

ABSTRACT

A method of updating software, performed by respective machines in a linear communication orbit includes, at a local server executed by a respective machine, receiving, via the linear communication orbit, update metadata. At an update module executed by the respective machine, an update module evaluates software version information using the update metadata to determine a set of one or more updates to be applied to one or more software programs. A patch module sends, via the linear communication orbit, requests for one or more software update files corresponding to the set of one or more updates, and receives the one or more software update files corresponding to the set of one or more updates. The update module then updates the one or more of the software programs by applying the received one or more software update files to the one or more of the software programs.

RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 16/565,247, filed Sep. 9, 2019, which is a continuation-in-part of U.S. application Ser. No. 15/702,617, filed Sep. 12, 2017, now U.S. Pat. No. 10,412,188, which was a continuation of U.S. application Ser. No. 14/554,739, filed Nov. 26, 2014, now U.S. Pat. No. 9,769,275, which claimed priority to U.S. Provisional Application No. 61/969,711, filed Mar. 24, 2014, and U.S. application Ser. No. 16/565,247 claims priority to U.S. Provisional Application No. 62/880,610, filed Jul. 30, 2019, all of which are hereby incorporated by reference in their entireties.

This application is also related to U.S. patent application Ser. No. 14/554,711, filed Nov. 26, 2014, now U.S. Pat. No. 9,667,738, which claimed priority to U.S. Provisional Application No. 61/969,708, filed Mar. 24, 2014, both of which are hereby incorporated by reference in their entireties.

This application is also related to U.S. patent application Ser. No. 13/797,962, filed Mar. 12, 2013, now U.S. Pat. No. 9,059,961, titled “Creation and Maintenance of Self-Organizing Communication Orbits in Distributed Network,” U.S. Provisional Application Ser. No. 61/745,236, filed Dec. 21, 2012, titled “System and Network Management Using Self-Organizing Communication Orbits in Distributed Networks,” and U.S. Provisional Application Ser. No. 61/774,106, filed Mar. 7, 2013, titled “System, Security and Network Management Using Self-Organizing Communication Orbits in Distributed Networks,” the entireties of which are hereby incorporated by reference.

This application is also related to U.S. patent application Ser. No. 12/412,623, filed Mar. 27, 2009, now U.S. Pat. No. 8,086,729, titled “Distributed Statistical Detection of Network Problems and Causes,” U.S. patent application Ser. No. 13/084,923, filed Apr. 12, 2011, now U.S. Pat. No. 8,904,039, titled “Large-Scale Network Querying and Reporting”, and U.S. patent application Ser. No. 13/107,625, filed May 13, 2011, now U.S. Pat. No. 8,903,973, titled “Parallel Distributed Network Management.” Content of each of the above applications is hereby incorporated by reference in its entirety.

BACKGROUND

There are many circumstances in which multiple computational machines (sometimes called computers) on the same local area network (LAN) or wide area network need the same specific data file (e.g., a printer driver, a dll, etc.), the same software application, or the same update to a software application. Data transfers currently make heavy use of both hardware (distributed file servers) and wide area network (WAN) bandwidth, for example, by having each computation machine on the local area network separately obtain a copy of the same application or update from a resource external to the local area network. It would beneficial to have a more efficient data transfer mechanism than the current practice.

It is further noteworthy that in the context of software updates, individual computational machines on the same local area network or wide area network typically need to contact an external server to determine what updates, if any, are required for an application, or for each of several applications, and furthermore need to contact the external server to obtain the required software update files. While such updates are sometimes initiated locally, in the networks of large entities (e.g., corporations, governmental and non-governmental organizations), such updates may be initiated on a shared schedule or in response to a command sent by an administrator to a large number of computation machines via a broadcast message. As a result, hundreds or thousands of computational machines may contact the same external server in a short period of time to obtain the same or overlapping sets of software update metadata and software update files, causing network congestion and inefficient software update processes. It would beneficial to have a more efficient data mechanism for performing concurrent software updates over a large number of computational machines than the current practice.

SUMMARY

(A1) In one aspect, a method of data caching and distribution, performed by each respective machine in a plurality of machines that are included in a linear communication orbit (e.g., a linear communication orbit that includes machines at two end nodes, comprising a head node and a tail node, and that is coupled to a server via at least one of the machines at the two end nodes): executing a plurality of software programs, executing a local server distinct from the plurality of software programs, and at the local server, receiving, via the linear communication orbit, update metadata. At an update module executed by the respective machine, the update module (distinct from the local server and the plurality of software programs) receives the update metadata from the local server, evaluates software version information (e.g., the software version information for one more software programs, indicating what updates have already been applied to those programs) using the update metadata to determine a set of one or more updates to be applied to one or more of the plurality of software programs. A patch module sends, via the linear communication orbit, one or more requests so as to request one or more software update files corresponding to the set of one or more updates, and receives the one or more software update files corresponding to the set of one or more updates. Finally, the update module updates the one or more of the software programs by applying the received one or more software update files to the one or more of the software programs.

(A2) In some embodiments, the software version information identities one or more software applications already installed at the respective machine, and prior updates that have been applied to the one or more software applications.

(A3) In some embodiments, the update metadata includes applicability rules for evaluating the software version information so as to identify updates that have not yet been applied to the one or more software applications. In some embodiments, the update metadata is distributed by a server to all the computational machines on the linear communication orbit meeting one or more filter criteria (e.g., all computational machines running a particular operating system, or all the computation machines running a particular operating system and having a particular software application installed).

(A4) In some embodiments, the update metadata includes applicability rules for evaluating the software version information so as to identify one or more groups of software update files corresponding to updates that have not yet been applied to the one or more software applications.

(A5) In some embodiments of the method of any of A1 to A4, receiving the software update files corresponding to the set of one or more updates includes a set of operations, including: sending, via the linear communication orbit, one or more file manifest requests for file manifests corresponding to the set of one or more updates; receiving, via the linear communication orbit, in response to the one or more file manifest requests, one or more file manifests corresponding to the set of one or more updates; identifying, from the received one or more file manifests, a plurality of individual update files that are not locally stored at the respective machine; sending, via the linear communication orbit, shard requests for each of the individual update files that are not locally stored at the respective machine; receiving, via the linear communication orbit, in response to the shard requests, the requested individual update files; and combining one or more subsets of the individual update files received in response to the shard requests and individual update files, if any, already locally stored at the respective machine, to generate at least one of the software update files corresponding to the set of one or more updates.

(A6) In some embodiments, the set of operations for receiving the software update files corresponding to the set of one or more updates is performed by a patch nodule distinct from the update module and the local server

(A7) In some embodiments of the method of A5 or A6, a respective file manifest of one or more of the file manifests corresponds to two or more of the individual update files, which comprise shards of a respective software update file that when combined, form the respective software update file.

(A8) In some embodiments of the method of A7, prior to the respective machine sending the shard requests, a first plurality of shards of the respective software update file are, in aggregate, locally cached at other machines, other than the respective machine, in the linear communication orbit. In such embodiments, the requested individual update files received by the respective machine in response to the shard requests include the first plurality of shards of the respective software update file, received from the other machines in the linear communication orbit that have locally cached one or more of the first plurality of shards of the respective software update file.

(A9) In some embodiments of the method of any of A1 to A8, the linear communication orbit is a linearly arranged sequence of machines configured to sequentially convey messages to each machine in the linearly arranged sequence of machines in the linear communication orbit.

(A9) In another aspect, a system, comprising a respective machine in a plurality of machines that are included in a linear communication orbit (e.g., the linear communication orbit includes machines at two end nodes, comprising a head node and a tail node, and is coupled to a server via at least one of the machines at the two end nodes) includes one or more processors, and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for performing any of the methods disclosed herein, including the method of any of A1 to A9.

(A10) In another aspect, a computer readable storage medium stores one or more programs for execution by a respective machine of a plurality of machines arranged in a linear communication orbit so as to sequentially convey messages to each of the machines in the linear communication orbit, wherein the linear communication orbit includes machines at two end nodes, comprising a head node and a tail node, and the linear communication orbit is coupled to a server via one of the two end nodes; the one or more programs including instructions for performing any of the methods disclosed herein, including the method of any of A1 to A9.

Other embodiments and advantages may be apparent to those skilled in the art in light of the descriptions and drawings in this specification.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A illustrates a managed network comprising a plurality of interconnected machines, e.g., computers, servers, mobile devices, and other networked devices.

FIG. 1B-1D illustrate respective local segments of an exemplary linear communication orbit for data caching and distribution in a managed network in accordance with some embodiments.

FIG. 2A illustrates an exemplary data caching and distribution system that processes a system management message for file transfers, information installations or updates in accordance with some embodiments.

FIG. 2B illustrates an exemplary data caching and distribution system that contains a data request path for propagating a data request and requesting specific data in a linear communication orbit in accordance with some embodiments.

FIGS. 3A-3C illustrate three respective linear communication orbits that are associated with three scenarios of transferring a data request and distributing specific data based on a location of the specific data in accordance with some embodiments.

FIG. 4 illustrates an exemplary process of providing the data requested by two respective data requests, both generated by a computational machine on a linear communication orbit in accordance with some embodiments.

FIG. 5A illustrates an exemplary process of consolidating data requests issued by two distinct computational machines to request the same specific data on a linear communication orbit in accordance with some embodiments.

FIGS. 5B-5C illustrate an exemplary process of a respective computational machine, in a linear communication orbit with numerous other computational machines, determining the updates to be applied to one or more software applications at the respective machine, obtaining the corresponding software update files, and updating the one or more software applications using the obtained software update files.

FIG. 6A is a block diagram of an exemplary computational machine in the exemplary linear communication orbits shown in FIGS. 1A-5 in accordance with some embodiments.

FIG. 6B is a block diagram of an exemplary server in the exemplary linear communication orbits shown in FIGS. 1A-5 in accordance with some embodiments.

FIG. 7 illustrates an exemplary computational machine that responds to an incoming data distribution command in accordance with some embodiments.

FIG. 8A illustrates an exemplary intermediate machine that processes a data request and conditionally stores specific data requested by the data request in accordance with some embodiments.

FIG. 8B illustrates an exemplary computational machine that acts as a head node of a linear communication orbit and conditionally stores specific data during the course of processing a corresponding data request in accordance with some embodiments.

FIG. 9 illustrates an exemplary computational machine that consolidates two data requests that request the same specific data in accordance with some embodiments.

FIG. 10A illustrates a conceptual block diagram of a linear communication orbit that distributes and caches specific data in accordance with some embodiments.

FIG. 10B illustrates a conceptual block diagram of another linear communication orbit that distributes and caches specific data in accordance with some embodiments.

FIGS. 11A-11D illustrate a flow diagram representing a method for caching and distribution specific data in accordance with some embodiments.

FIGS. 12A-12G illustrate a flow diagram representing another method for caching and distributing specific data in accordance with some embodiments.

Like reference numerals refer to corresponding parts throughout the drawings.

DESCRIPTION OF EMBODIMENTS

FIG. 1A illustrates a managed network 100 comprising a plurality of interconnected machines 102 (including 102 a-d), e.g., computers, servers, mobile devices, and other networked devices. Examples of the managed network 100 include an enterprise network or another network under common management. The managed network 100, sometimes called a distributed set of machines or computers, includes a plurality of sub-networks (e.g., contiguous segments 106), and optionally includes one or more singleton machines (e.g., singleton 102 d). Each singleton or sub-network is coupled to a server 108 that facilitates creation, maintenance and operation of the respective singleton and sub-network. This server 108 may be elected automatically from among all or a subset of machines 102 according to various predetermined election rules implemented on machines 102. Each sub-network in the managed network 100 further includes at least two interconnected machines and adopts a certain network topology to organize these machines. Each singleton machine, if any, is a stand-alone node except that it is coupled to server 108. In some embodiments, each singleton or sub-network is further separated from the rest of the managed network 100 by one or more firewalls 104.

Optionally, machines 102 in managed network 100 are distributed across different geographical areas. Alternatively, machines 102 are located at the same physical location. A respective machine 102 communicates with another machine 102 or the server 108 using one or more communication networks. Such communications include communications during normal operations (e.g., user-level operations, such as emailing, Internet browsing, VoIP, database accessing, etc.). The communication network(s) used can be one or more networks having one or more type of topologies, including but not limited to the Internet, intranets, local area networks (LANs), cellular networks, Ethernet, Storage Area Networks (SANs), telephone networks, Bluetooth personal area networks (PAN) and the like. In some embodiments, two or more machines 102 in a sub-network are coupled via a wired connection, while at least some of machines in the same sub-network are coupled via a Bluetooth PAN.

Machines 102 in managed network 100 are organized into one or more contiguous segments 106 (including 106 a-c), each of which becomes a sub-network in the managed network 100. In some embodiments, each contiguous segment 106 is a respective linear communication orbit that supports system, security and network management communications within the managed network 100. Furthermore, each contiguous segment 106 includes one head node (e.g., head node 102 a), one tail node (e.g., tail node 102 b), and a sequence of zero or more intermediate client nodes (e.g., intermediate node(s) 102 c) in between the head node and the tail node. In some embodiments, both the head node and tail node of a contiguous segment 106 a are coupled to server 108, while the intermediate nodes of the contiguous segment 106 a are not coupled to server 108. In some embodiments, only the head node of a contiguous segment 106 b is coupled to the server 108, while the intermediate nodes and tail node are not coupled to the server 108.

In some embodiments, server 108 is coupled to a remote a remote server (e.g., remote server 110) that is not part of managed network 100 and is optionally separated from managed network 100 a wide area network 111, such as the internet. For example, server 108 may receive from remote server 110 files or other information that it then distributes to computational machines 102 in managed network 100.

In some embodiments, all machines 102 coupled to a linear communication orbit 106 in network 100 are sorted into an ordered sequence according to a respective unique identifier associated with each machine 102. For example, respective IP addresses of machines 102 are used to sort the machines into an ordered sequence in the linear communication orbit. Each machine is provided with a predetermined set of rules for identifying its own predecessor and/or successor nodes given the unique identifiers of its potential neighbor machines. When a machine joins or leaves the linear communication orbit, it determines its ordinal position relative to one or more other machines in the linear communication orbit according to the unique identifiers and the aforementioned rules. More details on how a linear communication orbit is organized and how each intermediate node, head node or end node enters and leaves the linear communication orbit are provided in the Applicants' prior application, U.S. patent application Ser. No. 13/797,962, filed Mar. 12, 2013, entitled “Creation and Maintenance of Self-Organizing Communication Orbits in Distributed Networks,” which is hereby incorporated by reference in its entirety.

Linear communication orbits, such as exemplary linear communication orbits 106 a-106 c, are established and maintained to facilitate system, security and/or network management operations ascribed to manual and programmed administration of network 100. Examples of system, security and network management operations include: (1) collecting status information (e.g., bandwidth, load, availability, resource inventory, application status, machine type, date of last update, security breach, errors, etc.) from individual machines of the managed network; (2) issuance of system, security and network management commands (e.g., commands related to shutdown, restart, failover, release of resources, change access authorizations, backup, deployment, quarantine, load balancing, etc.) for individual resources and/or machines on the managed network; (3) file distribution, including software installations and updates; (4) detecting presence of particular malicious programs (e.g., viruses, malware, security holes, etc.) on individual machines on the managed network; (5) removal of or disabling particular malicious programs (e.g., viruses, malware, security holes, etc.) on individual machines on the managed network; (6) disabling or suspending suspicious or high-risk operations and activities (e.g., Internet or operating system activities of suspected virus, malware, etc.) on particular machines on the managed network; (7) detecting unmanaged machines coupled to the managed network; (8) detecting data leakage (e.g., transmission of classified information) from machines on the managed network to locations or machines outside of the managed network; (9) detecting connection or data transfer to/from removable data storage devices (e.g., memory stick, or other removable storage devices) from/to particular ports (e.g., a USB drive) of particular machines on the managed network. Other system, security and network management operations are possible, as will be apparent to those of ordinary skills in the art.

The present specification focuses on data caching and data distribution among the computational machines 102 located at different client nodes of an established linear communication orbit. Such data caching and data distribution operations include, for example, enterprise software installations and updates, software patch installations, anti-virus updates, obtaining a local copy of data file, database updates, etc., within the linear communication orbits 106 a-106 c.

In some implementations, a system management message is initially issued by the server (e.g., server 108) in the managed network, and includes a command (e.g., a command to obtain and install a specific object, such as a data file or software application, or software update) and a rule. In some embodiments, the system management message is initially received at a head node of an established linear communication orbit, as is then passed along the linear communication orbit to each node in the linear communication orbit until it reaches the tail node of the linear communication orbit. Each node of the linear communication orbit is sometimes called a computational machine; alternatively, each node of the linear communication orbit includes a computational machine.

The rule in the system management message is interpreted by each computational machine in the orbit, which determines whether that machine should execute the command. Alternately stated, the rule, when interpreted by each computational machine in the orbit, determines whether that machine needs a specific object, such as a data file, an application, an update, or the like. If the particular machine 102 determines that it satisfies the rule, and thus needs the object, it generates a plurality of data requests to request a plurality of shards, as described in more detail below. Each of the data requests is a request for respective specific data, herein called a shard. Together the shards form, or can be combined to form, an object, such as a file, an application, or an update.

Each data request propagates along a predetermined data request path that tracks the linear communication orbit until the requested respective specific data are identified at a respective machine that stores a cached copy of the requested respective specific. The respective specific data are thereafter returned, along a data return path, to the computational machine 102 that made the request. Moreover, the requested specific data are selectively cached at the other computational machines located on the path to facilitate potential future installations and updates at other machines on the linear communication orbit. During the entire course of data caching and distribution, each individual computational machine on the linear communication orbit follows a predetermined routine to independently process system management messages, respond to any incoming data request and cache specific data that passes through.

Data distribution in the linear communication orbit(s) 106 shown in FIG. 1A is preferably controlled locally within the linear communication orbit, and many data management functions are distributed to each individual machine. For example, machines located on a data return path independently determine whether to retain a cached copy of data being returned to another machine on the linear communication orbit. Further, each machine located on a data request path independently determines if it has a cached copy of the specific data requested by another machine on the linear communication orbit, and if so, returns the specific data requested from its local cache. The server 108 need not separately manage these functions. Machines located on the data request path determine successively and independently whether each of them retains a cached copy and thereby should return the specific data.

In accordance with many embodiments of the present invention, data caching and distribution is performed using local resources of a linear communication orbit, except when none of the machines on the linear communication orbit have the specific data requested by a machine on the linear communication orbit. Bandwidth on the local area network, which interconnects the machines on the linear communication orbit, is typically very low cost compared with bandwidth on the wide area network that connects a server to one or more machines on the linear communication orbit. In many implementations, the local area network also provides higher data communication rates than the wide area network. Distributed, automatic local caching minimizes or reduces the use of a wide area communication network to retrieve data from a server, particularly when multiple machines on the same linear communication orbit make requests for the same data. As a result, overall performance of a large-scale managed network is improved compared with systems in which each managed machine obtains requested data via requests directed to a server via a wide area network. Due to local caching of content, and locally made caching decisions, far fewer file servers are needed in systems implementing the methods described herein, compared with conventional, large-scale managed networks of computational machines.

FIG. 1B-1D illustrate respective local segments of an exemplary linear communication orbit for data caching and distribution in a managed network in accordance with some embodiments. FIG. 1B illustrates a local segment 112 that is centered about an intermediate client node 114. Intermediate client node 114 is coupled between two immediately adjacent nodes, i.e., predecessor node 124 and successor node 126. Each machine 102 other than a head node and a tail node in a linear communication orbit is such an intermediate node. In some embodiments, an intermediate node is persistently connected only to its predecessor and successor nodes, and not to the server or other nodes in the network.

FIG. 1C illustrates a local segment (e.g., local segment 116) that includes a head node 118 of the linear communication orbit. FIG. 1D illustrates a local segment 120 that includes a tail node 122 of the linear communication orbit in accordance with some embodiments. Head node 118 and tail node 122 are each coupled to an immediately adjacent node, successor node 128 and predecessor node 130, respectively, on the linear communication orbit. In addition, head node 118 is coupled to server 132 that serves as a pseudo-predecessor node for head node 118. In some embodiments, tail node 122 is also coupled to server 132 that serves as a pseudo-successor node for tail node 122; however, in some embodiments, the linear communication orbit terminates at tail node 122. Each node shown in FIGS. 1B-1D is implemented by a respective machine 102 coupled to one of the linear communication orbits (e.g., linear communication orbits 106 a-106 c) of network 100 in FIG. 1A.

Each machine on the linear communication orbit is coupled to an immediate neighbor machine or a server via a bidirectional communication link that includes a data incoming channel and a data outgoing channel. Intermediate machine 114 has four communication channels (e.g., channels 134-140) that form two bidirectional communication links to couple itself to two respective neighbor machines (e.g., predecessor node 124 and successor node 126). Head node 118 and tail node 122 are similarly coupled to a respective neighbor machine, and in some embodiments to a server, via bidirectional communication links. The bidirectional communication links allow each machine to simultaneously receive information from and provide information to its adjacent machine upstream or downstream in the linear communication orbit. The upstream direction, relative to a machine other than the head node, is the direction of communication or message flow toward the head node. For the head node, the upstream direction is toward the server to which the head node is coupled. The downstream direction, relative to a machine other than the head node, is the direction of communication or message flow toward the tail node. In some embodiments, for the tail node, the downstream direction is undefined. In some other embodiments, for the tail node, the downstream direction is toward the server to which the tail node is coupled.

As shown in FIG. 1B, for intermediate node 114, data incoming channel 134 on an upstream side and data outgoing channel 136 on a downstream side together constitute a part of a forward communication channel that is established to pass information along a downstream direction. Similarly, data incoming channel 140 and data outgoing channel 138 together constitute a part of a backward communication channel along an upstream direction. The forward and backward communication channels further pass other successor and predecessor nodes, and extend downstream and upstream across the entire linear communication orbit. Specific information may be communicated successively from node to node along the forward communication channel, the backward communication channel, or both. In some embodiments, the start of the forward communication channel and the end of the backward communication channel further extends to server 132, because head node 118 is also coupled to serve 132 via a bidirectional communication link.

In various embodiments of the present invention, specific information communicated along the forward or backward communication channel may originate from a server, a head node, a tail node or an intermediate machine (e.g., machine 114 in FIG. 1B) of the linear communication orbit. As it is transferred along the forward or backward communication channel, the specific information may be modified at a certain intermediate machine and continue to be communicated to its immediate neighbor machine on the respective communication channel. In some embodiments, an intermediate machine may determine to retain a copy (e.g., locally cache) of the specific information, independently of whether the information needs to be communicated to the neighboring machine. In addition, in some implementations, each machine in the communication orbit may choose to reverse the direction of communication, when the specific information is received at the respective client node. In some implementations, however, such a reversal of direction occurs only at the tail node.

In accordance with some embodiments of the present invention, specific information that may be communicated in the forward and backward communication channels includes, but is not limited to, system management messages, data requests, specific data (e.g., data requested by the data requests) and status messages. In one example, a system management message is an installation or update message issued by the server, and transferred along the forward communication channel to various client nodes on the linear communication orbit. At a respective client node that receives the installation or update message, the message is parsed into a plurality of data requests each of which may be circulated within the linear communication orbit to request respective specific data. The requested respective specific data are returned to the client node, and distributed to other client nodes along the forward or backward communication channel as well. More details will be presented below concerning specific data caching and distribution processes, such as for installations and updates of applications, databases and the like.

FIG. 2A illustrates an exemplary data caching and distribution system 200 that processes a system management message for information installations or updates in accordance with some embodiments. The data caching and distribution system 200 includes a server 202 and a linear communication orbit 204 that are coupled at a head node 206. In addition to head node 206, the linear communication orbit 204 further includes a tail node 208 and a plurality of intermediate machines 210-218 which are coupled between head node 206 and tail node 208. While intermediate machines 210-218 illustrate the configuration of linear communication orbit 204, in some embodiments, linear communication orbit 204 includes only one intermediate machine, while in other embodiments, it includes dozen, hundreds or even thousands of intermediate machines.

The system management message is issued by server 202 to request installation or update of the same software application, database, or the like on one or more machines in the linear communication orbit 204. As discussed above, in some implementations, the system management message contains a rule, where the rule is interpreted or evaluated by each computational machine in the linear communication orbit that receives the system management message, and the outcome of that rule interpretation or evaluation by a respective node determines whether node initiates a data transfer to the node, or not. The data transfer, if initiated, typically takes the form of multiple data requests. The system management message may or may not include an explicit data distribution command. For example, in some embodiments, the system management message includes the identifier of a manifest, or includes the manifest itself. In some embodiments, the manifest is a file or list or other object that includes a list of object shards or other units of data. If the manifest contains information for more than one object, the manifest includes, directly or indirectly, a list of object shards or other units of data corresponding to each object. For example, the manifest can include a list of other manifests, each of which identifies object shards or units of data to be combined to form a respective object. In another example, the set of objects identified or referenced by the manifest includes a first set of files (which may include files having executable programs and/or files containing data), and also one or more installation programs for installing the first set of files.

If the evaluation of the rule in the system management message by the computation machine (e.g., destination message 214) indicates that the message is applicable to the computation machine, the computational machine issues a request for the manifest, unless the system management message includes the manifest or the computation machine is otherwise already in possession of a copy of the manifest. When the computation machine receives the manifest, or determines it already has it, the computation machine then undertakes to obtain a copy of each object shard or other unit of data referenced by the manifest, excluding those already in its possession. Typically, the computational machine issues multiple requests for specific data items, and then combines the data items listed in or identified by the manifest so as to complete a data distribution task corresponding to the system management message. In effect, in these embodiments, the system management message is a data distribution command, whether or not the system management message contains an explicit data distribution command.

Stated another way, in accordance with the manifest received by a destination machine, e.g., intermediate machine 214, the destination machine generates a plurality of data requests, each of which is associated with at least one shard of an object to be installed or updated at the destination machine. In one example, each data request is a request of a single respective shard of the object. In some circumstances, one or more shards of the object will have been previously cached in the destination machine and do not need to be requested again. As a result, each destination machine generates a set of data requests to collect only the shards that are absent from its local cache. Upon acquisition of all the shards corresponding to an object, the destination machine combines the shards to generate the entire object.

The system management message is typically delivered to multiple computational machines on linear communication orbit 204, which results in concurrent installations or updates of the same file(s), software application(s), database(s) or the like on multiple computational machines on linear communication orbit 204. The system management message is sent along linear communication orbit 204 to computational machines along linear communication orbit 204. As discussed above, the system management message specifies, directly or indirectly (e.g., through the identification of a manifest, or a manifest embedded in the message) one or more objects to be obtained or generated at one or more computational machines in linear communication orbit 204.

In some embodiments, the system management message originates from server 202 and travels along the forward communication channel that starts from head node 206. At each client node, the respective computational machine determines whether the system management message is applicable to that machine. For example, the computation machine determines whether the message includes a data distribution command that designates the client node, or it evaluates a rule in the message that indicates whether the message is applicable to that computational machine. In accordance with a positive determination, the respective computational machine (e.g., machine 214) retains the corresponding data distribution command, or retains a manifest identified by or embedded in the message. In addition, the system management message continues to be distributed along the forward communication channel to downstream machines for their evaluation. In some embodiments, the intermediate machine 214 generates a command status and reports the command status back to server 202 via the backward communication channel. In some embodiments, when the system management message has been delivered to all the computational machines in the orbit up to tail node 208, it message is deleted by the tail node 208.

In some embodiments, a system management message originates at a respective node on the linear communication orbit, and is distributed to other nodes (i.e., computational machines) along the linear communication orbit starting at the originating node.

FIG. 2B illustrates an exemplary data caching and distribution system 250 that contains a data request path 260 for propagating a data request and requesting specific data in a linear communication orbit in accordance with some embodiments. At a certain machine (e.g., machine 214), a data distribution command or manifest included in (or identified by) a system management message is parsed into a plurality of data requests according to the manifest. Each of the plurality of data requests is passed along the predetermined data request path 260 that tracks the linear communication orbit 204. In this embodiment, data request path 260 originates from computational machine 214 (i.e., a requester machine), extends along the forward communication channel of the linear communication orbit 204, reaches tail node 208, reverses to follow the backward communication channel, and terminates at head node 206.

In some embodiments, each data request is passed along the data request path 260, until either (A) a cached copy of the specific data (e.g., a shard of a data set) is identified within another computational machine on the data request path 260, or (B) the data request reaches head node 206 because no machine located on the data request path 260 is found to store a cached copy of the specific data in its local cache. In the latter case, head node 206 further passes the data request to server 202 to request a copy of the specific data from the server, and the data request path 260 extends from head node 206 to server 202.

When the requester machine is head node 206, the data request path 260 follows the forward (downstream) and backward (upstream) communication channels, as needed, prior to potentially extending to server 202, if needed. When the requester machine is tail node 208, the data request path tracks the backward (upstream) communication channel and reaches head node 206 if none of the intermediate nodes store a cached copy of the specific data in its local cache.

Once the computational machines along the linear communication orbit 204 have received a system management message that includes a manifest or one or more data distribution commands, server 202 has no further involvement in the distribution and installation of the object(s) specified by the manifest or data distribution commands, other than providing shards to head node 206 when such shards are not found in the local cache of any of the computational machines along linear communication orbit 204. From the perspective of each intermediate machine, the intermediate machine communicates only with its immediate neighbors when responding to a data distribution command in order to obtain the shards corresponding to (or specified by) the data distribution command.

In some embodiments, each intermediate machine on data request path 260 maintains a respective tracking record for each distinct shard that it has requested, or that is requested by a data request received by the intermediate machine. When a data request is received for a shard for which the intermediate node has a tracking record, the local cache of the intermediate machine is not searched for a second time, if the tracking record indicates that the local cache has already been searched for the shard and does not have a copy of the shard. The corresponding data request is directly passed to the next immediate machine on data request path 260 without repeating the search for the shard. Such a tracking record is particularly useful when an intermediate machine has recently searched the local cache for the requested data in response to one data request and then receives another data request that requests the same data again. In some implementations, the tracking record remains valid for a limited duration of time, and is reset or cleared upon receiving a response to the corresponding request.

While FIGS. 2A-2B and other figures presented here show messages and data being communication only along forward and reverse paths of a linear communication orbit 204, with each node sending and receiving messages only from its immediate neighbors, the methods described herein are also applicable to methods where messages are conveyed with the linear communication orbit along other paths. For example, when a node in the linear communication orbit becomes inoperative or unresponsive, messages may be conveyed within the linear communication orbit through an alternative path, so was to skip over or otherwise work around the inoperative or unresponsive node. In such circumstances, the immediate neighbors of a respective node are the nodes before and after it, along a modified data request path within the linear communication orbit.

FIGS. 3A-3C illustrate three respective linear communication orbits 310 that are associated with three scenarios of transferring a data request and distributing specific data based on a location of the specific data in accordance with some embodiments. Each of data requests 302 in FIGS. 3A-3C originates from a requester machine 304, and travels along at least a part of data request path 260 as shown in FIG. 2B. In response to data request 302, the specific data are identified in a data machine 312, and returned to requester machine 304 along a data return path 320 that varies according to the location of data machine 312. In some embodiments, data return path 320 extends from the location of the specific data to one of two end nodes, including tail node 306 and head node 308.

In some embodiments as shown in FIG. 3A, data request 302A is transferred along a part of the forward communication channel on linear communication orbit 310. A cached copy of the specific data is identified in data machine 312A located downstream of requester machine (M1) 304A, and therefore, the data request ceases to be passed to machines on the rest of data request path 260. In this circumstance, the specific data are returned along a data return path 320A that extends between data machine (M2) 312A and head node 308 and overlaps a part of the backward communication channel of linear communication orbit 310.

In some embodiments as shown in FIG. 3B, data request 302B is transferred along both a part of the forward communication channel and a part of the backward communication channel on linear communication orbit 310. A cached copy of the specific data is identified in a data machine (M2) 312B located within linear communication orbit 310 and upstream of requester machine (M1) 304B. As a result, the data request is not passed further upstream beyond data machine (M2) 312B, and the specific data is returned along a data return path 320B that extends between data machine 312B and tail node 306 and overlaps a part of the forward communication channel of linear communication orbit 310.

In some embodiments as shown in FIG. 3C, data request 302C is transferred along entire data request path 260 until it reaches head node 308. In this example, no cached copy of the specific data is identified in any computational machine within linear communication orbit 310. Therefore, head node 308 passes data request 302C to server 314 which provides the requested specific data to head node 308. In this circumstance, once it receives the specific data from server 314, head node 308 is regarded as a data machine 312C within linear communication orbit 310 that has a copy of the requested specific data. The specific data is then returned along a data return path 320C that extends between head machine 308 and tail node 306 and overlaps the entire forward communication channel of linear communication orbit 310.

In some embodiments, data machine 312 includes a machine (within linear communication orbit 310) that is located closest, along the data request path, to requester machine 304 and has a cached copy of the specific data in its local cache.

In some embodiments as shown in FIGS. 3A-3C, requester machine 304 and data machine 312 are separated by at least one intervening machine (M3) 316 on linear communication orbit 310. Independently of the location of data machine (M2) 312, the specific data are successively passed along data return path 320 by the intervening machines coupled between data machine (M2) 312 and requester machine (M1) 304, until they are received by requester machine 304. In addition, each intervening machine determines whether a copy of the specific data is to be cached in its local cache as well. Upon receiving the specific data from its immediate neighbor, requester machine 304 stores a copy of the specific data, and marks the data request as completed.

In some embodiments, after they have been delivered to requester machine 304, the specific data are further passed to additional machines 318 located on data return path 320, until it is received by the corresponding end node, head node 308 or tail node 306, at the end of data return path 320. In some implementations, each additional machine 318 that receives the specific data also determines whether a copy has already been retained locally and, if not, whether such a copy of the specific data is to be locally cached.

In some embodiments, additional machine 318 determines whether a copy has already been retained locally by checking to see if it has a tracking record for a shard, which indicates whether the additional machine's local cache has already been searched for corresponding specific data. If the tracking record is found, the specific data are not present in the local cache. If a tracking record for the shard is not found, additional machine 318 searches its local cache to determine whether a cached copy has already been retained in its local cache.

In some embodiments, a copy of the specific data is created in a local cache of an intervening or additional machine when certain predefined local caching criteria are satisfied. In a broad perspective, the predefined local caching criteria include that no copy of the specific data is already stored in the respective cache as discussed above. In some embodiments, the caching criteria require that certain data not be cached in certain machines due to various reasons (e.g., data security). In some embodiments, the caching criteria set a limit to the number of copies that may be cached in linear communication obit 310, or prohibit the specific data from being cached in two immediately adjacent machines.

When the predefined local caching criteria are met, the copy of the specific data is locally cached according to a data caching method. The data caching method may include a statistically random or pseudorandom method of determining whether to cache respective data received from another machine. In some embodiments, a probability of caching specific data received at any intervening or additional machine is determined in accordance with a parameter, such as the number of machines included in linear communication orbit 310. In one example, the probability of caching has a default value of N/T, where N is an integer corresponding to a target number of copies to be cached within a linear communication orbit, and T is an integer corresponding to the total number of machines in the linear communication orbit. In another example, the probability of caching has a default value of 1/L, where L is an integer (e.g., an integer in the range of 6 to 12). Optionally, the default value for the probability of caching is used when the linear communication orbit 310 has at least a predefined number of machines. However, in some implementations, the probability of caching is reduced to a predefined value, such as ¼, when the number of machines in linear communication orbit 310 is less than another integer M, e.g., 8.

In some embodiments, the probability of caching specific data (e.g., a shard of a file or data set) at any specific machine is determined at the specific machine in accordance with at least one of: a size of the specific data, a total size of a corresponding object or dataset that includes the specific data, a size of the local cache of the specific machine, a size of the unused space in local cache of the specific machine, and a size of all local caches on linear communication orbit 310. In one example, at a machine having a local cache size of 100 Mbytes, the probability to caching a shard of a data set having a total size of 1.0 GBytes is ten percent (10%). In another example, at a machine having a local cache size of X, the probability to caching a shard of a data set having a total size of Y is X/Y (e.g., 10%) so long as the cache has sufficient room to store the shard without evicting from the cache any data that meets predefined non-eviction criteria (e.g., the machine may have predefined non-eviction criteria that prevents eviction of “recently received or used” shards from the same data set as the shard being considered for eviction). In some implementations, the non-eviction criteria are: specific data (sometimes herein called a shard for ease of explanation) is not to be evicted from the cache if either the specific data was first stored in the cache in the last N seconds, where N is a predefined value between 1 and 60, or the specific data was most recently sent to another machine, in response to a data request, in the last M seconds, where M is a predefined value between 1 and 60, where M is not necessarily the same value as N.

In some other embodiments, the cached copies are distributed substantially evenly across linear communication orbit 310. For example, a predefined machine distance is maintained between machines (in the linear communication orbit) selected to store copies of the specific data.

During the course of caching and distributing the specific data, a caching status message may be generated to track copies the specific data in the communication orbit and used to report a caching status back to server 314. In some embodiments, when the specific data are returned to requester machine 304 or cached in a certain intervening or additional machine, the respective machine generates a distinct caching status message and reports it separately to server 314. In some other embodiments, a caching status message traverses the machines of the linear communication orbit, or a subset of the machines of the linear communication orbit, collecting information identifying the machines at which the specific data are locally cached. At the head or tail node, the resulting caching status message is sent to server 314.

In some embodiments, machines in linear communication orbit 310 are included in (and thus interconnected by) a local area network, and communicate with server 314 via head node 308, which is coupled to server 314 through a wide area network. As shown in FIGS. 3A-3C, the machines in the linear communication orbit 310, coupled via the local area network, are searched for specific data. This is called a local search. Only when the local search fails, the corresponding data request is sent to server 314, accessed via the wide area network. Moreover, the specific data are cached and distributed by machines on linear communication orbit 310 during the course of delivering the specific data to a requester machine 304. As a result, extra copies of the specific data are locally cached at additional machines to facilitate data distribution to other machines requesting the same specific data, using only the local area network. When multiple machines on the same linear communication orbit 310 request the same specific data within a short period of time (e.g., a period of less than an hour, or less than 10 minutes), the above data caching and distribution method, on average, substantially reduces data transmitted via the wide area network from server 314 compared with methods in which each machine on the local area network requests data from and receives the requested data from a server via a wide area network.

FIG. 4 illustrates an exemplary process 400 of providing the data requested by two respective data requests, both generated by a computational machine 402 (M1) on a linear communication orbit 410 in accordance with some embodiments. In this example, according to a manifest received from another computational machine in the same linear communication orbit 410 or from a server, computational machine 402 (M1) needs to obtain a plurality of data, including first data and second data, that together constitute an object to be installed or updated on computational machine 402. Therefore, computational machine 402 generates a plurality of data requests, including a first data request and a second data request, for requesting some of the plurality of data from other machines on linear communication orbit 410. Each data request is sent by a computational machine, e.g., requester machine 402, and is transferred along a respective data request path. In response to each data request, the corresponding data are identified in a computational machine on linear communication orbit 410, e.g., machine 404 (M2) or 406 (M4), and returned to requester machine (M1) 402 along a respective data return path. More details on data requests, data caching and data distribution associated with an individual data request are explained above with reference to FIGS. 3A-3C.

In some embodiments, although the two data requests originate from the same requester machine (M1) 402, their corresponding data are identified in different computational machines on linear communication orbit 410. For example, the first data requested by the first data request are identified in computational machine 406 that is located downstream of machine (M2) 404, which stores a copy of the second data requested by the second data request. In this instance, the resulting data return paths for the first and second data originate differently, but both extend along the backward communication channel. In some embodiments, the data return paths terminate at a head node 408 of linear communication orbit 410, thereby giving machines in the linear orbit along the data return paths the opportunity to store a cached copy of the data requested by the first machine (M1). Although they may not entirely overlap, the data return paths for requested data of machine 402 pass requester machine 402. In some alternative embodiments, or in some circumstances, the data return paths terminate at the requesting node 402.

At the end of the data caching and distribution process, requester machine 402 collects the plurality of data that include shards in the object to be installed or updated. Each of the data is either identified in the local cache of machine 402 or returned to machine 402 via the corresponding data return path. Requester machine 402 then combines the plurality of data to generate or reconstitute the object according to the manifest received together with the original system management message or data distribution command.

In many embodiments, multiple machines, including machine 402, on linear communication orbit 410, based on the same manifest, concurrently (i.e., during overlapping time periods) generate requests for the same shards of the same object that needs to be installed or updated on these computational machines. As a result, machines in the linear communication orbit 410 could be flooded with a large number of data requests in a short period of time. Therefore, in some embodiments, at least some of these machines delay generating their respective data requests for shards to avoid generating data requests for the same specific data within a short period of time. This allows local caches of machines on linear communication orbit 410 to be gradually populated with the requested shards.

In some embodiments, at least some of the data requests generated by one requester machine are delayed before they are sent to request shards included in the object from machines on linear communication orbit 410. In some embodiments, this process, sometimes herein called data throttling, is invoked only when (i.e., in accordance with a determination that) a respective machine has generated and/or passed along to neighboring nodes at least a threshold number (e.g., a number between 4 and 20) of unanswered data requests. In some embodiments, different requester machines on linear communication orbit 410 use different length delays between successive data requests generated, or passed along. As a result, data requests generated by different machines are transmitted and processed in a non-concurrent manner in linear communication orbit 410. In some embodiments, the lengths of the delays between successive requests sent by a respective machine vary in accordance with a predefined methodology. In some embodiments, the lengths of the delays between successive requests transmitted by a respective machine fall within a predefined range, such as 0.25 seconds to 5 seconds.

In some embodiments, one or more respective machines on linear communication orbit 410 limit the number of outstanding (i.e., unanswered) data requests (whether generated by the respective machine or passed along) to a predefined number (e.g., a number between 4 and 20). In these embodiments, as requested data arrives at the requested machine, if additional data requests are pending, those data requests are generated or passed along to neighboring machines, subject to the limit on outstanding data requests.

FIG. 5A illustrates an exemplary process 500 of consolidating data requests issued by two distinct computational machines to request the same specific data on a linear communication orbit 510 in accordance with some embodiments. When a server sends a system management message or command that results in an identical object being installed or updated on more than one computational machine on linear communication orbit 510, different computational machines (e.g., machines (M1) 502 and (M5) 504) issue respective data requests to request the same specific data that constitute a shard of the object. In some implementations, the respective data requests are generated in an asynchronous manner, for example in accordance with times introduced according to the data throttling method (sometimes called a spreading method) described above. Consolidation of such data requests helps avoid repetitive data request processing and redundant data caching.

In one example, requester machines (M1) 502 and (M5) 504 that request the same specific data receive a copy of the specific data from the same data machine 506, and share at least a part of their respective data request path. In some embodiments, data machine (M2) 506 is located downstream of both machines (M1) 502 and (M5) 504, while in other embodiments, data machine 506 is located upstream of both machines 502 and 504. However, in some embodiments, data machine (M2) 506 is located between machines (M1) 502 and (M5) 504, in which case machines 502 and 504 have non-overlapping data request paths and each directly obtains the copy of the specific data from data machine 506.

In some implementations, a computational machine consolidates the data requests that separately originate from machines (M1) 502 and (M5) 504, when it determines that predefined criteria in a request consolidation method are satisfied for the data requests. In one example, the computational machine is one of requester machine 502, requester machine 504 or an intermediate machine that is located on an overlapping part of the corresponding data request paths of the data requests. Upon a determination that the criteria in the request consolidation method are met, the computational machine forgoes passing one of the data requests along at least a part of its respective data request path.

In accordance with some exemplary criteria in the request consolidation method, the computational machine determines whether another data request has been previously generated or processed to request the same specific data during a predetermined period of time. The period of time expires when the corresponding specific data are returned, or an expiration time (e.g., a predetermined amount of time after the request is generated or transferred to a next machine along the data request path) is reached.

As shown in FIG. 5A, two computational machines (M1) 502 and (M5) 504 respectively generate a first data request and a third data request to request the same specific data, e.g., a shard of an object. For either machine 502 or machine 504, a respective delay is optionally applied between a first time when a data distribution command or system management message having (or identifying) a manifest is received from the server, and a second time when the corresponding data request is generated. In some circumstances, the first data request is generated at machine 502 after the third data request has been generated by machine 504. Thus, when the first data request is generated at machine 502, the third data request has already been passed by machine 502 to a next machine on the data request path, and machine 502 retains a corresponding tracking record. Thus, when the first data request is generated, machine 502 detects the retained tracking record for the third data request, and based on that information, forgoes sending the first data request to a next machine on the data request path. Machine 502 waits for the corresponding specific data to be returned in response to the third data request, and uses the same specific data to satisfy the first data request.

In certain circumstances, the third data request is generated at machine 504 after the first data request has been generated by machine 502. Machine 502 retains a tracking record corresponding to the first data request when it sends the first data request to a next machine along the data request path. Based on the tracking record for the first data request, the third data request is not passed by machine 502 to a next machine along the data request path.

More generally, each machine that issues or passes a data request retains a tracking record of the request until a response with the request data is received, at which point the tracking record is either removed or marked as no longer pending. If a subsequent request is received after the earlier request has received a response, then the processing of the later data request is not impacted by the earlier request, except that the specific data required to respond to the later request is likely to be locally cached by at least one machine in the linear communication orbit 510.

FIGS. 5B-5C illustrate an example of a software update process 520, performed in large part by a respective computational machine, such as machine M3 501 c, in a linear communication orbit 106 sometimes called LCO 106, that includes numerous other computational machines (e.g., machines M1 501 a (e.g., at a head node of the LCO), M2 501 b and M4 501 d (e.g., at a tail node of the LCO), of determining the updates to be applied to one or more software applications at the respective machine, obtaining the corresponding software update files, and updating the one or more software applications using the obtained software update files. More particularly, the linear communication orbit 106 includes a linearly arranged sequence of machines configured to sequentially convey messages to each machine 501 in the linearly arranged sequence of machines in the linear communication orbit 106. As indicated by the ellipses in FIGS. 5B-5C, linear communication orbit 106 may include additional machines, optionally located between machines M1 and M2, and/or between machines M2 and M3, machines M3 and M4, and/or before or after M1 or M4 in the linear communication orbit 106. A server 108 is coupled to at least a head node (e.g., corresponding to machine M1 501 a, and optionally also to a head node (e.g., corresponding to machine M4 501 d) of LCO 106.

As shown in FIG. 5B, a remote server 110, outside the managed network that includes network server 108 and LCO 106, provides “master updates” 522 to network server 108. The master updates 522 include update metadata 524, in some cases update metadata for an entire family of software products. As new updates become available, they are provided by remote server 110 to network server 108. In some embodiments, network server 108 receives update metadata 524 from a plurality of remote servers. For example, each remote server provides to network server 108 update metadata for a different software product or set of software products than the other remote servers. Furthermore, in some embodiments, and typically, remote server 110 provides update metadata to a plurality of network servers, each of which then performs the functions of network server 108 described herein. However, for ease of explanation, the functionality of network server 108 and the software update process performed by computation machines 501 in LCO 106 is described herein with reference to a single network server 108 and remote server 110.

In some embodiments, network server 108, upon receiving update metadata 524 from remote server 110, subdivides and/or organizes the update metadata received from remote server 110 (and optionally the update metadata received from other remote servers as well) into groups of update metadata, for example with separate groups or sets of update metadata for distinct products or categories of products. As a result, network server 108 has smaller, product-specific or category-specific sets of update metadata than the “master update” received from remote server 110, and provides those smaller sets of update metadata to individual computational machines, as described in more detail below.

In some embodiments, network server 108 distributes a particular set of update metadata to computational machines in a respective linear communication orbit 106 by sending the update metadata through the linear communication orbit 106 along with a filter criteria that specify characteristics of the computation machines that should store that particular set of update metadata. For example, the filter criteria may specify a particular operating system, or set of operating systems, as well as a particular software product, so that only computation machines having an operation system and software product that satisfy the filter store the update metadata. In another example, the network server 108 distributes to the computational machines 501 in LCO 106 a file manifest for each distinct set of update metadata. Each computational machine in LCO 106 evaluates a filter in each respective file manifest to determine if it should request the corresponding update metadata, and if the determination by a respective computational machine is positive, the corresponding update metadata is requested by the respective computational machine. As a result, the update metadata is distributed by the network server to all the computational machines on LCO 106 meeting the filter criteria.

As described elsewhere in this document, the distribution of the update metadata to the computational machines (or a subset of such machines) in LCO 106 may be accomplished by distributing a file manifest to the computational machines in LCO 106, after which each computation machine for which the update metadata is potentially relevant (e.g., as determined by the computation machine evaluating filter criteria sent with or included in the file manifest) requests a set of shards corresponding to portions of the update metadata, receives the requested shards in response to those requests, and then combines the shards to reconstruct a local copy of the update metadata.

In some embodiments, update metadata is received and stored (526) by a local server (e.g., local server 642, FIG. 6A) at each computational machine 501 in the LCO 106. The local server is typically a separate program from the software programs (e.g., software applications 640, FIG. 6A) to be updated, and also separate from the patch module (e.g., patch module 670, FIG. 6A, discussed in more detail below) the update module (e.g., update module 660, FIG. 6A, sometimes called an update agent) that determines which updates to apply to respective software programs, and that updates the respective software programs by applying received software updates to those programs. In some embodiments, the local server runs in a separate process from the processes that run the software programs to be updated, and also separate from the processes that runs the update module and the patch module.

While the remainder of the software update process is explained with respect to operations performed by computational machine M3, it should understood that, typically, multiple computation machines in the same LCO 106 will perform the same software update process. One result of this is that shards of the software updates are cached at various computational machines in the LCO 106, and as a result, those shards of the software updates are obtained by computation machine M3 from other computational machines in LCO 106 without having to download them from network server 108, remote server 110, or other remote server.

After the local server of computational machine M3 receives update metadata, the update module of computational machine M3 initiates or otherwise starts an update operation. In some embodiments, or in some circumstances, the update operation is initiated by a command or message received from a network administrator (e.g., using an administrator's machine not shown in FIG. 5B) via the network server 108 and LCO 106. In some embodiments, or in some circumstances, the update operation is initiated by the update module at scheduled times (e.g., once per week at a particular time).

As shown in FIGS. 5B-5C (see “update module” and “patch module” labels at left margins of FIGS. 5B-5C), in some embodiments, some operations (e.g., 530-532 and 548) of the software update process performed by computational machine M3 are performed by an update module (e.g., update module 660, FIG. 6A), while other operations (e.g., 534-546) are performed by a patch module (e.g., patch module 670, FIG. 6A), separate from the update module. For example, in some embodiments, the update module is a third party program, or a set of third party programs, that determine what software updates are needed, and once the corresponding software update files (e.g., software update files 654) have been obtained, apply the determined software updates to their respective programs. On the other hand, in such embodiments, the patch module handles the process of obtaining the software update files, using the data distribution process described elsewhere in this document. However, in some other embodiments, the operations 530-548 shown in FIGS. 5B-5C are performed by a single module, or are differently distributed over two or more modules of computational machine M3.

In some embodiments, after the update metadata has been the received 526, the update operation begins with the update module (of computational machine M3) receiving (530) from the local server (also at computational machine M3) update metadata, e.g., update metadata for a particular software product. In some embodiments, the update module receives (530) the update metadata by sending the local server an update metadata request that includes (A) information identifying a particular software product, and/or (B) information identifying one or more updates already applied to the particular software product. Further, the update module requests and receives from the local server update metadata applicable to the particular software product or update metadata applicable to the particular software product which has been updated with at least the one or more updates identified by the update module. The local server retrieves the requested update metadata by extracting it from the update metadata previously received by the computational machine in operation 526, and provides the extracted update metadata to the update module.

In some embodiments, the update module of computational machine M3 retains, and maintains, software version information (e.g., software version information 664, FIG. 6A) for one or more software products. In some embodiments, the software version information identifies one or more software applications already installed at the respective machine, and prior updates that have been applied to the one or more software applications. In some embodiments, a portion of the software version information is used by the update module to obtain (e.g., as part of the update metadata receiving operation 530, described above) from the local server update metadata applicable to a particular software product or a particular version of the particular software product.

After receiving (530) update metadata from the local server, the update module of respective computation machine (e.g., machine M3) evaluates (532) the software version information (e.g., version information for one or more software programs) using the update metadata (i.e., the update metadata received from the local server) to determine a set of one or more updates to be applied to one or more of the plurality of software programs. In some embodiments, the update data metadata includes applicability rules for evaluating the software version information so as to identify updates (or, more specifically, one or more groups of software update files corresponding to updates) that have not yet been applied to the one or more software applications, and the update module evaluates the software version information using those applicability rules to identify updates to be applied to one or more software programs at the respective computational machine. Of course, in some cases, the evaluation of the software version information using the update metadata will result in a determination that there are no updates that need to be applied to software programs at the respective computation machine, but evaluation process 532 is herein described with respect to those situations in which at least one such update is identified. In some embodiments, operations 530 and 532 are repeated multiple times in order to make a full evaluation of what software updates are needed. In some embodiments, the results of the evaluation are locally stored as “scan results” 533 (corresponding to scan results 666, FIG. 6A), which indicate the software update files needed to update one or more software programs. The scan results 533 are passed to, or accessed by, the patch module, which then performs operation 534 to obtain copies of the software update files needed to update one or more software programs, in accordance with the scan results 533.

After the update module identifies one or more updates to be applied to one or more software programs at the respective computational machine (e.g., computational machine M3), the computational machine (e.g., under control of the patch module) sends (534), via linear communication orbit 106, one or more requests so as to request one or more software update files corresponding to the set of one or more updates, and receives the requested one or more software update files. In some embodiments, the patch module performs operation 534 in response to a patch process instruction 525 (e.g., 525A and/or 525B) sent to computational machine M3 by the remote server 110 or network server 108.

After requesting and receiving (534) the one or more software update files, the update module of the respective computational machine (e.g., computation machine M3) updates (548) one or more software programs by applying the received one or more software update files to the one or more of the software programs.

In some embodiments, the update process (operations 530 to 548) described above is repeated by computational machine M3, and optionally by multiple computation machines in LCO 106, for each of a plurality of distinct software products.

As indicated by FIG. 5B, requesting (534) one or more software update files and receiving the requested one or more software update files typically involves multiple operations, because the software update files tend to be large, and therefore a respective software update file is distributed to respective computational machines in LCO 106 in the form of multiple shards, each of which is smaller than the respective software update file.

As described in more detail below, these operations (536-544) include the computational machine requesting (536) and receiving (538) one or more file manifests, each file manifest corresponding to one or more of the software update files, then requesting (540) and receiving (542) shards identified by each of the file manifests, and then combining (544) the received shards corresponding to each software update file to form (e.g., reconstruct) the software update file. The local caching and forwarding capabilities of the computational machines in LCO 106, described elsewhere in this document, facilitate fast and efficient retrieval of the file manifest and/or shards, thereby significantly reducing the number of file requests received and processed by network server 108.

More specifically, as shown in FIGS. 5B-5C, in some embodiments, requesting (534) one or more software update files and receiving the requested one or more software update files includes sending (536), via the linear communication orbit, one or more file manifest requests for file manifests corresponding to the set of one or more updates. As shown in FIG. 5B, a respective request for a file manifest is transmitted from machine to machine along a request path of LCO 106, until the request is received by a computational machine (e.g., computational machine M1) with a locally cached copy of the requested file manifest, and if none of the computational machines in LCO 106 have a locally cached copy of the requested file manifest, until the request is received at network server 108.

The respective computational machine receives (538) (e.g., under control of its update module), via the linear communication orbit 106, in response to the one or more file manifest requests, one or more file manifests corresponding to the set of one or more updates. For example, the requested file manifest is returned to the requesting computational machine (e.g., computational machine M3) by either a computational machine (e.g., computational machine M1) in LCO 106 that has a locally cached copy of the requested file manifest or network server 108. In some embodiments, network server 108 maintains file manifests (e.g., file manifests 658, FIG. 6B) for all the software updates that it can distribute to computational machines.

In some embodiments, and typically, a respective file manifest of the one or more of the file manifests corresponds to (e.g., contains information identifying) two or more of the individual update files, which comprise shards of a respective software update file that when combined, form the respective software update file.

After the one or more file manifests have been received, the respective computational machine (e.g., under control of its update module) identifies from the received one or more file manifests, a plurality of individual update files, sometimes herein called shards, that are not locally stored at the respective computational machine. If some of the individual update files are already locally cached at the respective computational machine, there is no need send requests for those individual update files. The respective computational machine (e.g., under control of its update module) sends (540), via the linear communication orbit 106, shard requests for each of the individual update files that are not locally stored at the respective machine. As shown in FIG. 5B, a respective request for a shard is transmitted from machine to machine along a request path of LCO 106 until the request is received by a computational machine (e.g., computational machine M2 or M1) with a locally cached copy of the requested shard, and if none of the computational machines in LCO 106 have a locally cached copy of the requested shard, until the request is received at network server 108.

Next, the respective computational machine (e.g., under control of its update module) receives (542), via the linear communication orbit 106, in response to the shard requests, the requested individual update files. For example, a requested shard (or individual update file) is returned to the requesting computational machine (e.g., computational machine M3) by either a computational machine (e.g., computational machine M2 or M1) in LCO 106 have a locally cached copy of the requested shard (or individual update file) or network server 108. In some embodiments, network server 108 maintains shards (e.g., individual update files (shards) 656, FIG. 6B) for all the software updates that it can distribute to computational machines.

In some embodiments, prior to the respective machine sending the shard requests, a first plurality of shards of a respective software update file are, in aggregate, locally cached at other machines, other than the respective machine, in the linear communication orbit 106. In such embodiments, the requested individual update files received by the respective machine in response to the shard requests include the first plurality of shards of the respective software update file, received from the other machines in the linear communication orbit that have locally cached one or more of the first plurality of shards of the respective software update file.

Finally, after receiving the requested shard, the respective computational machine (e.g., under control of its update module) combines (544) one or more subsets of the individual update files received in response to the shard requests, as well as individual update files, if any, already locally stored at the respective machine, to generate at least one of the software update files corresponding to the set of one or more updates.

It is noted that the respective computational machine optionally also locally caches (546) some of the requested shards, or shards requested by other computational machines in LCO 106, using the locally caching techniques described elsewhere in this document, thereby providing a local repository for at least some of the shards that may be requested by other computational machines in LCO 106 in the future.

FIG. 6A is a block diagram of an exemplary computational machine 600, such as any of the computational machines 102 or 501 in the exemplary linear communication orbits 106 shown in FIGS. 1A-5C, in accordance with some embodiments. In some implementations, machine 600, 102 or 501 includes one or more processors 602 a, memory 604 a for storing programs and instructions for execution by one or more processors 602 a, one or more communications interfaces such as input/output interface 606 a and network interface 608 a, and one or more communications buses 610 a for interconnecting these components.

In some embodiments, input/output interface 606 a includes a display and input devices such as a keyboard, a mouse or a track-pad. In some embodiments, communication buses 610 a include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. In some embodiments, memory 604 a includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM or other random-access solid-state memory devices; and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some embodiments, memory 604 a includes one or more storage devices remotely located from the one or more processors 602 a. In some embodiments, memory 604 a, or alternatively the non-volatile memory device(s) within memory 604 a, includes a non-transitory computer readable storage medium.

In some embodiments, memory 604 a or alternatively the non-transitory computer readable storage medium of memory 604 a stores the following programs, modules and data structures, instructions, or a subset thereof:

-   -   Operating System 612 a that includes procedures for handling         various basic system services and for performing hardware         dependent tasks.     -   I/O module 614 a that includes procedures for handling various         basic input and output functions through one or more input and         output devices.     -   Communication module 616 a that is used for connecting machine         600 to other machines (e.g., other machines 600 in network 100)         or servers (e.g., server 108) via one or more network         communication interfaces 608 a (wired or wireless) and one or         more communication networks, such as the Internet, other wide         area networks, local area networks, metropolitan area networks,         and so on.     -   Orbit formation module 618 a that includes instructions         implementing a predetermined set of rules for creating,         maintaining, and repairing the linear communication orbit for         network and system management.     -   Message and command module 620 a that includes instructions for         handling receipt, processing, propagation, collecting and         reporting of system, security and network management messages         and commands.     -   Neighboring node information 622 that includes information         identifying neighboring nodes of machine 600.     -   Messages, reports and/or other data 624 a that is stored,         temporarily or otherwise, upon receipt from a predecessor node,         successor node or server, and/or that is locally generated,         revised or supplemented by machine 600 prior to transmission to         a predecessor node, successor node or server.     -   Data distribution module 626 a that includes instructions for         handling receipt, processing, propagation, collecting and         reporting in response to system management messages for         distributing objects to be installed or updated on machine 600.         In some embodiments, the data distribution module 626 a is         included in the message and command module 620 a. In some         embodiments, the data distribution module 626 a extracts a         manifest (or a data distribution command or manifest identifier)         from the system management message received from a server,         generates a plurality of data requests, identifies or receives         respective specific data in response to each data request, and         generates or reconstitutes the object from the identified or         received specific data according to the manifest.     -   Data request module 628 that includes instructions for         processing data requests received from a predecessor node,         successor node or server. The data request module 628 determines         whether a copy of specific data is available in machine 600. In         accordance with a determination result, the data request module         628 returns the copy to a previous machine or further sends a         data request to a subsequent machine on the data request path.         In some circumstances, the data request module 628 forgoes         sending a data request to successor node or predecessor node,         thereby consolidating data requests issued by different machines         to request the same specific data.     -   Data caching module 630 that includes instructions for         receiving, caching, and propagating specific data that pass         machine 600 and for reporting related caching activities at         machine 600. To be specific, the data caching module 630         determines whether specific data shall be cached in a local         cache 632 according to a data caching method and caching the         specific data in accordance with a positive determination of         data caching.     -   Local cache 632. In some embodiments, local cache 632 includes         file manifests 634, received by the respective computation         machine 600 during the software update process described above         with reference to FIGS. 5B-5C, and cached copies of shards 636         (individual software update files). The file manifests 634         identify individual update files (also called shards) to be         requested and, upon receipt, combined to form software update         files, as discussed above with reference to FIGS. 5B-5C.     -   Software applications 640, such as software programs to be         updated during the software update process described above with         reference to FIGS. 5B-5C.     -   Local server 642, described above with reference to FIGS. 5B-5C.     -   Update metadata 644, received by local server 642 and provided         to update module 660 during the software update process         described above with reference to FIGS. 5B-5C.     -   Update module 660, the operation of which is described above         with reference to FIGS. 5B-5C. In some embodiments, update         module 660 receives information 662 identifying updates (e.g.,         update metadata received from local server 642), and retains         software version information 664, e.g., software version         information that identifies one or more software applications         already installed at the respective machine and prior updates         that have been applied to the one or more software applications.         Results produced by the update module 660 evaluating the         software version information 664 using the information 662         identifying updates are sometimes herein called scan results         666, which are then passed to (or accessed by) the patch module         670.     -   Patch module 670, the operation of which is described above with         reference to FIGS. 5B-5C. In some embodiments, patch module 670         uses the scan results 666 produced by update module 660 to         determine what software update files to obtain; receives         individual update files 672, also herein called shards,         corresponding to one or more software update files, during the         software update process described above with reference to FIGS.         5B-5C, and combines (544, FIG. 5C) the received shards         corresponding to each software update file to form (e.g.,         reconstruct) the software update file (674), as described above         with reference to FIGS. 5B-5C.

FIG. 6B is a block diagram of an exemplary network server 650, such as the network server 108 for the exemplary linear communication orbits 106 shown in FIG. 1A-5C, in accordance with some embodiments. In some implementations, server 650 or 108 includes one or more processors 602 b, memory 604 b for storing programs and instructions for execution by the one or more processors 602 b, one or more communications interfaces such as input/output interface 606 b and network interface 608 b, and one or more communications buses 610 b for interconnecting these components.

In some embodiments, input/output interface 606 b includes a display and input devices such as a keyboard, a mouse or a track-pad. In some embodiments, communication buses 610 b include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. In some embodiments, memory 604 b includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM or other random-access solid-state memory devices; and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some embodiments, memory 604 b includes one or more storage devices remotely located from the one or more processors 602 b. In some embodiments, memory 604 b, or alternatively the non-volatile memory device(s) within memory 604 b, includes a non-transitory computer readable storage medium.

In some embodiments, memory 604 b or alternatively the non-transitory computer readable storage medium of memory 604 b stores the following programs, modules and data structures, instructions, or a subset thereof:

-   -   Operating System 612 b that includes procedures for handling         various basic system services and for performing hardware         dependent tasks.     -   I/O module 614 b that includes procedures for handling various         basic input and output functions through one or more input and         output devices.     -   Communication module 616 b that is used for connecting server         650 to machines 600 coupled to network 100 via one or more         network communication interfaces 608 b (wired or wireless) and         one or more communication networks, such as the Internet, other         wide area networks, local area networks, metropolitan area         networks, and so on.     -   Orbit formation module 618 b that includes instructions to         determine which machines 600, of all machines 600 currently         known to be coupled to network 100, are coupled to the same         local area network, and to communicate information to those         machines to enable them to self-organize into a linear         communication orbit. In some embodiments, orbit formation module         also stores a list of singletons, and head nodes and/or tail         nodes of the linear communication orbits in the network.     -   Message and command module 620 b that includes instructions for         providing and collecting system, security and network management         messages. In some embodiments, message and command module 620 b         provides a user interface for a network or system administrator         to directly perform various system and network functions, such         as issuing status inquiries, providing management instructions,         and deploying system configurations.     -   Network node information 627 that includes information         identifying all nodes known to be coupled to network 100. In         some embodiments, server 650 maintains a record of nodes         currently known to be coupled to the managed network and their         respective unique identifiers (e.g., IP addresses and optionally         other unique identifiers). Optionally, server 650 also maintains         the ordinal positions of these machines in a sorted sequence         according to their respective unique identifiers. In some         embodiments, network node information includes head, tail and         singleton node information, identifying head nodes, tail nodes         and singleton nodes with established communication channels to         and/or from server 650. In some embodiments, server 650         maintains a list of head nodes, tail nodes, and singleton nodes         that have opened forward and backward connections with server         650.     -   Messages, reports and/or other data 624 b that is temporarily         stored upon receipt from a head node, tail node, or other         reporting node.     -   Data distribution module 626 b that includes instructions for         providing a particular system management message and collecting         status messages for distribution and caching of an object. In         some embodiments, the data distribution module 626 b is included         in the message and command module 620 b. Specifically, the data         distribution module 626 b generates a system management message         that includes one or more data distribution commands and/or         manifests for distributing an object to at least one         computational machine on a linear communication orbit.         Optionally, the linear communication orbit returns at least one         caching status message to server 650, and the data distribution         module 626 b tracks locations on the linear communication orbit         of locally cached copies of each shard included in the object.         In some embodiments, the message and command module 620 b also         provides a user interface for a network or system administrator         to dispatch software installation or update commands, or         database installation or update commands, to a selected group of         machines.     -   Update distribution server 651, which may be implemented as a         software module executed by server 650 or 108. In some         embodiments, update distribution server 651 receives master         updates 652, comprising update metadata, from one or more remote         servers 110 (e.g., as shown in FIG. 1A). As described above,         update distribution server 651 may reorganize or subdivide         master updates 652 received from the one or more remote servers         into groups of update metadata, for example with separate groups         or sets of update metadata for distinct products or categories         of products.     -   Software update files 654. In some embodiments, update         distribution server 651 also receives and locally stores         software update files 654 from one or more remote servers 110,         each of which is used, at respective computational machines 106         or 501, for performing a particular update to a corresponding         software program. In some embodiments, to facilitate         distribution, and local caching at computational machines in a         linear communication orbit 106, each software update file 654         (or, alternatively, each software update file bigger than a         predefined size) is implemented as a set of individual update         files 656, sometimes called shards, that when combined form the         corresponding software update file 654, and a file manifest 658         that includes information identifying the individual update         files or shards 656 for that software update file 654.

FIGS. 6A and 6B are merely illustrative of the structures of machines 600 and server 650. A person skilled in the art would recognize that particular embodiments of machines 600 and server 650 may include more or fewer components than those shown. One or more modules may be divided into sub-modules, and/or one or more functions may be provided by different modules than those shown. In some embodiments, an individual one of machines 600 implements or performs one or more methods described herein as being performed by a respective computational machine, including the methods described with respect to FIGS. 11A-11D. In some embodiments, a plurality of machines 600 in a linear communication orbit, such as those shown in FIGS. 1A through 5, together implement or perform one or more methods described herein as being performed by a plurality of computational machines, including the methods described with respect to FIGS. 12A-12G.

FIG. 7 illustrates an exemplary computational machine 700 that responds to an incoming data distribution command in accordance with some embodiments. In some embodiments, machine 700 receives a system management message from another machine, herein called a first machine, and evaluates the system management message, to determine if the system management message is applicable to machine 700. In these embodiments, the system management message includes the aforementioned data distribution command. If machine 700 determines that the received system management message is applicable to machine 700, machine 700 then executes the aforementioned data distribution command.

For example, when machine 700 is an intermediate machine on a linear communication orbit, the first machine is typically an immediate neighbor machine that is located upstream of machine 700. When machine 700 is a head node on the linear communication orbit, the first machine is a server that is coupled to the linear communication orbit via the head node. In accordance with a manifest in, or specified by, the system management message, the data distribution command is parsed into a plurality of data requests to request shards of an object that needs to be installed or updated on machine 700. Each shard is returned to machine 700 either from the first machine or from a second machine on the linear communication orbit, such as an immediate neighbor machine located downstream of machine 700 on the linear communication orbit.

In some embodiments, other than evaluating the received system management message to determine if the message is applicable to machine 700, and generation of the data requests, machine 700 does not proactively control search, distribution and caching of copies of the shards included in the object; rather, machine 700 passively waits for the requested data to be returned by neighboring machines in the linear communication orbit (e.g., either machine of its two immediate neighbor machines). In some embodiments, when the requested data are not returned within a predetermined wait time, machine 700 sends a status message to a server via the first immediate neighbor machine, and the server provides a copy of the requested data to machine 700 via the first immediate neighbor machine.

FIG. 8A illustrates an exemplary intermediate machine 800 that processes a data request and conditionally stores specific data requested by the data request in accordance with some embodiments. Intermediate machine 800 receives the data request from a first machine, and in various embodiments, the first machine may be located upstream or downstream of machine 800 on a linear communication orbit. The data request is generated by the first machine or another machine that is located further away along the stream. In response to this data request, intermediate machine 800 determines whether the requested specific data are stored in its local cache. In accordance with a determination by intermediate machine 800 that the specific data are stored in its local cache, the specific data are returned by intermediate machine 800 to the first machine, and the data request is not passed to any other machines by intermediate machine 800.

In contrast, when intermediate machine 800 determines that the specific data are not stored in its local cache, the data request is passed by intermediate machine 800 to a second machine that is distinct from the first machine. The second machine or each machine on a corresponding data request path successively repeats the aforementioned determination process, described here for intermediate machine 800, until a copy of the specific data is identified and successively returned to intermediate machine 800. Then, intermediate machine 800 returns the specific data to the first machine, and moreover, determines whether to store the specific data in the local cache of intermediate machine 800 according to a data caching method as explained above.

In some embodiments, the requested specific data are not identified in machines included in the corresponding linear communication orbit, and have to be requested from a server via a head node. FIG. 8B illustrates an exemplary computational machine 850 that acts as a head node of a linear communication orbit and conditionally stores specific data during the course of processing a corresponding data request in accordance with some embodiments. Head node 850 receives a data request from a first machine that is an immediate neighbor machine included in the linear communication orbit. In some circumstances, head node 850 identifies the requested specific data in its local cache and returns the requested specific data to the first machine. However, in many circumstances, head node 850 does not have the requested specific data, and therefore, passes the data request to a server 860 that is coupled to the linear communication orbit. When server 860 returns a copy of the specific data, head node 850 returns the copy to the first machine, and determines whether to store the specific data in the local cache of head node 850 according to a data caching method as explained above.

In some embodiments, the local cache of any particular machine on a linear communication orbit is a part of the entire memory system of the particular machine. In some implementations, contents in the local cache are evicted according to a respective predetermined eviction policy. In some embodiments, the predetermined eviction policy specifies a predetermined and fixed eviction time, and requires the specific data be deleted from the local cache after the predetermined eviction time passes. However, in some other embodiments, caching activities are monitored for each item (e.g., shard, manifest, file or the like) stored in the local cache. When space is needed in the local cache to store new content, one or more items in the local cache is deleted in accordance with the monitored caching activities (e.g., one or more cached items deemed to be the most stale are deleted from the local cache).

Under many circumstances, each computational machine on the linear communication orbit independently manages the handling of data requests and the handling of specific data received at the computational machine. In particular, upon receiving a data request, each computational machine proactively processes the data request according to a set of predetermined routines and the internal state of the computational machine, without requiring instruction or state information from any other computation machine. Similarly, upon receiving specific data, each computational machine proactively processes the specific data according to a set of predetermined routines and the internal state of the computational machine, without requiring instruction or state information from any other computation machine. As a result, in many situations, the data request and distribution process is self-organized, self-managed and completed locally on the linear communication orbit.

FIG. 9 illustrates an exemplary computational machine 900 that consolidates two data requests that request the same specific data in accordance with some embodiments. The two data requests include a first data request and a second data request in which the first data request is processed by machine 900 at a time earlier than the second data request. The first data request is either generated at machine 900 or passed from a first machine to a second machine via machine 900. In some embodiments, the first machine and the second machine constitute two immediate neighbor machines of machine 900. In response to the first data request, specific data are returned from the second machine to machine 900.

The second data request is generated at machine 900 or received from either one of the first and second machines. Under some circumstances, the first and second data requests are received from different machines of the first and second machines. In addition, the second data request is generated or received at machine 900 before the requested specific data are returned to machine 900 in response to the first data request.

The first and second data requests are consolidated at machine 900 when predefined criteria in a request consolidation method are satisfied. As a specific example, if no response to the first data request has yet been received by machine 900, machine 900 forgoes passing the second data request to a subsequent machine when that would require machine 900 to pass the second data request to the same subsequent machine as the machine to which it passed the first data request. When the requested specific data are returned to machine 900 in response to the first data request, machine 900 responds to both the first data request and the second data request. If either request was generated by machine 900, that request is “responded to” by retaining the specific data. For example, the specific data may be passed, within machine 900, to an application that will combine the specific data with other data so as to generate an object. As a result, the first and second data requests are consolidated at machine 900. More details on the data request consolidation process are explained from the perspective of requester machines in the above description of FIG. 5A.

FIG. 10A illustrates a conceptual block diagram of a linear communication orbit 1000 that distributes and caches specific data in accordance with some embodiments. Linear communication orbit 1000 includes a requester machine 1002, an intermediate machine 1004 and a data machine 1006. Requester machine 1002 generates a data request that requests specific data, and the specific data are subsequently identified in data machine 1006. As the specific data are returned to requester machine 1002 from data machine 1006, they pass intermediate machine 1004 and are conditionally stored within a local cache of intermediate machine 1004 based on a data caching method.

Linear communication orbit 1000 terminates at two end nodes, including a tail node and a head node that is coupled to a server. In some embodiments, requester machine 1002, data machine 1006 or both of them are the end node(s) of linear communication orbit 1000.

In some embodiments, a data request is passed along a forward communication channel from requester machine 1002 to data machine 1006, in a downstream direction on linear communication orbit 1000, and the specific data are returned upstream from data machine 1006 to requester machine 1002. However, in some circumstances (e.g., when none of the machines downstream of machine 1004 have a locally cached copy of the data requested by a data request, the data request is passed downstream from requester machine 1002 to a tail node, and returned upstream to data machine 1006. In response to the data request, the specific data are returned downstream from data machine 1006 to requester machine 1002.

When intermediate machine 1004 receives the specific data requested by a data request, it independently determines whether to cache the specific data according the data caching method as explained above, without regard to the locations of requester machine 1002 and data machine 1006.

FIG. 10B illustrates a conceptual block diagram of another linear communication orbit 1010 that distributes and caches specific data in accordance with some embodiments. In this example, requester machine 1002 is located downstream of intermediate machine 1004 and head node 1008, and in some embodiments, requester machine 1002 is the tail node of linear communication orbit 1010. In some circumstances, none of the machines included in linear communication orbit 1010 has a copy of the specific data, and therefore, when head node 1008 receives the data request, it requests the specific data from a server. When head node 1008 receives the specific data from the server, it functions similarly as data machine 1006 in FIG. 10A by returning the specific data to the next machine downstream of head node 108.

Therefore, as shown in FIGS. 10A-10B, when head node 1008 receives a data request generated by requester machine 1002, it functions as data machine 1006 by either providing a copy of the requested data that is already stored in its local cache or requesting a copy of the requested data from a server and then providing to requester machine 1002 the copy of the requested data received from the server (by forwarding the data to the next machine in the downstream direction).

FIGS. 11A-11D include a flow diagram representing a method 1100 for caching and distributing specific data in accordance with some embodiments. Method 1100 is, optionally, governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a computational machine (e.g., machine 600). Each of the operations shown in FIGS. 11A-11D may correspond to instructions stored in a computer memory or non-transitory computer readable storage medium (e.g., memory 604 a of machine 600 in FIG. 6A). The computer readable storage medium may include a magnetic or optical disk storage device, solid-state storage devices such as Flash memory, or other non-volatile memory device or devices. The instructions stored on the computer readable storage medium may include one or more of: source code, assembly language code, object code, or other instruction format that is interpreted by one or more processors. Some operations in method 1100 may be combined and/or the order of some operations may be changed.

Method 1100 is performed by a computational machine that has a local cache. The computational machine receives (1102) from a first machine a data request that is used to request specific data. In some embodiments, the specific data comprises (1104) one of a plurality of shards of an object, such as a software application, software application update, software patch, database, or database update. In some implementations, the computational machine and the first machine are interconnected (1106) by a single local area network. In some implementations, the computational machine and the first machine are two machines of a set of machines in a linear communication orbit, all of which are interconnected by a single local area network.

After receiving the data request, the computational machine determines (1108) whether the computational machine stores the specific data in the local cache of the computational machine. When the computational machine determines that the specific data are not stored in its local cache, it responds (1110) to the data request by passing (1112) the data request to a second machine. Additionally, in response to the data request, when the second machine returns the specific data to the computational machine, the computational machine returns (1114) the specific data to the first machine, and also determines (1114) whether to store the specific data in its local cache according to a data caching method.

In some embodiments, the data caching method includes (1116) a statistically random method of determining whether to cache respective data received from another machine. In some embodiments, the data caching method is determined (1118) based on at least one of the size of the specific data, the size of the local cache, the size of available caches in a linear communication orbit that includes the computational machine, and the size of a respective data set (e.g., an object, or a set of objects) that includes the specific data. As a specific example, a probability of caching the specific data at the computational machine is determined in accordance with a ratio between the size of the local cache and the size of an object, of which the requested specific data is a shard. In another example, a probability of caching the specific data at the computational machine is determined in accordance with a ratio between the size of the local cache and the size of the requested specific data. In either of these examples, larger local caches have higher probability of storing a particular specific data (e.g., shard) than smaller local caches. Additional details and examples of the data caching method are explained above with reference to FIGS. 3A-3C.

In some circumstances, when the computational machine determines (1120) that the specific data are stored in its local cache, it responds to the data request by returning the specific data to the first machine. Stated another way, it responds by a sending a copy of the specific data, obtained from its local cache, to the first machine.

Under some circumstances, the data request comprises (1122) a first data request, and method 1100 includes additional operations to consolidate the first data request with a second data request. To be specific, the computational machine receives (1124) the second data request, after receiving the first data request, to request the same specific data as the first data request. For example, the second data request is initiated (1126) by a third machine distinct from the first machine.

After receiving the second data request, the computational machine determines whether predefined criteria in a request consolidation method are satisfied. In accordance with a determination that the criteria are satisfied, the computational machine forgoes (1128) passing the second data request to the second machine. In other words, the second data request is consolidated with the first data request that requests the same specific data by the computational machine. From another perspective, not reflected in FIGS. 11A-11D, request consolidation is performed at a computational machine having a local cache when, after generating a first data request that is used to request specific data, and passing the data request to a second machine, the computation machine receives, from a third machine, a second data request to request the same specific data. In this method, in accordance with a determination that predefined criteria are satisfied (e.g., that the first data request is still outstanding, waiting for a response), the computational machine forgoes passing the second data request to the second machine. Furthermore, when the second machine returns the specific data to the computational machine, the computational machine returns the specific data to the third machine. Thus, the second data request is consolidated at the computational machine which earlier generated a data request for the same data as the later received second data request. In some embodiments, the computational machine is (1130) is a head node of a linear communication orbit that is organized from a plurality of machines, including the computational machine and the first machine, based on a set of rules at a specific time. In this circumstance, the second machine is a server coupled to the head node.

In some embodiments, the computational machine is (1132) an intermediate machine between neighboring machines within a linear communication orbit. The linear communication orbit is organized from a plurality of machines based on a set of rules at a specific time and subject to changes in configuration and membership when one or more machines join or exit the linear communication orbit. In one specific example, the computational machine is (1134) a downstream of the first machine and upstream of the second machine in the linear communication orbit. In another specific example, the computational machine is (1136) a downstream of the second machine and upstream of the first machine in the linear communication orbit. For corresponding examples, see FIGS. 3A and 3B and the description above of these figures.

It should be understood that the particular order in which the operations in FIGS. 11A-11D have been described are merely exemplary and are not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to cache and distribute specific data as described herein. Additionally, it should be noted that details of other processes described herein with respect to method 1200 (e.g., FIGS. 12A-12G) are also applicable in an analogous manner to method 1100 described above with respect to FIGS. 11A-11D. For brevity, these details are not repeated here.

FIGS. 12A-12G include a flow diagram representing another method for caching and distributing specific data in accordance with some embodiments. Method 1200 is, optionally, governed by instructions that are stored in a non-transitory computer readable storage medium and that are executed by one or more processors of a plurality of computational machines (e.g., machine 600). Each of the operations shown in FIG. 12 may correspond to instructions stored in the computer memory or computer readable storage medium (e.g., memory 604 a of machine 600 in FIG. 6A) of each of the plurality of computational machines. The computer readable storage medium may include a magnetic or optical disk storage device, solid-state storage devices such as Flash memory, or other non-volatile memory device or devices. The computer readable instructions stored on the computer readable storage medium may include one or more of: source code, assembly language code, object code, or other instruction format that is interpreted by one or more processors. Some operations in method 1200 may be combined and/or the order of some operations may be changed.

Method 1200 is performed by a plurality of computational machines that are included in a linear communication orbit. As described above, the linear communication orbit terminates at two end nodes that include a head node and a tail node. In some embodiments, the plurality of machines that are included in the linear communication orbit are interconnected (1202) by a single local area network. Additionally, in some embodiments, the linear communication orbit is organized (1204) from the plurality of machines based on a set of rules at a first time and subject to changes in configuration and membership when one or more machines join or exit the linear communication orbit.

A first machine included in the plurality of machines generates (1206) a data request to request specific data. In some implementations, the specific data comprises (1208) one of a plurality of shards of an object, such as a software application, software application update, database, or database update. Thus, the specific data is requested for the purpose of installing the software application or database, or updating the software application or database, in the first machine.

A plurality of the machines pass (1210) the data request along a data request path that tracks the linear communication orbit until the request is received at a second machine, in the linear communication orbit, that returns the specific data in response to the data request. In some situations, the second machine comprises (1212) a machine, in the linear communication orbit, that has a cached copy of the specific data in its local cache. However, in other situations, when no machine in the request path has a cached copy of the specific data in its local cache, the second machine is (1212) the head node. In that circumstance, the head node sends the data request for the specific data to a server that is coupled to the head node, and receives a copy of the specific data returned by the server.

In some embodiments, the second machine is (1214) a machine closest, along the data request path, to the first machine that has a cached copy of the specific data in its local cache.

Additionally, in some implementations, passing the data request includes (1216) passing the data request along the data request path that tracks the linear communication orbit until (A) the request is received at a machine, in the linear communication orbit, that has a cached copy of the specific data in a local cache of the machine or (B) the request is received at the head node, which obtains and returns the specific data in response to the request.

After the data request is passed along the data request path, a third machine conditionally stores (1218) the specific data in a local cache of the third machine according to a data caching method, as described above. The third machine is located between the first machine and the second machine in the linear communication orbit.

In some embodiments, the data caching method includes (1220) a statistically random method of determining whether to cache respective data received from another machine. In some embodiments, the specific data comprises (1222) one of a plurality of shards in an object (i.e., where the plurality of shards together form, or can be combined to form, the object), the specific data is to be cached in the linear communication orbit, and the data caching method is (1222) based on at least one of the size of the specific data (e.g., the size of a particular shard), the size of the object (e.g., the total size of the plurality of shards that when combined form the object), the size of the local cache of the third machine, a total size of available caches in the linear communication orbit, and a total size of a data set that includes the object. More details and examples on the data caching method are explained above with reference to FIGS. 3A-3C and 11B (e.g., operations 1116, 1118).

In some circumstances, the data request generated by the first machine (e.g., at 1206) is a first data request, and the specific data is first specific data. Method 1200 includes (1224) additional operations to regenerate or reconstitute an object that is to be installed or updated at the first machine. In accordance with these additional operations, the first machine also generates (1226) a second data request to request second specific data. The second data request is passed (1228) along the data request path until the second data request is received at a fourth machine, in the linear communication orbit, that returns the second specific data in response to the second data request. In operation 1228, the fourth machine is distinct from the second machine. However, in some circumstances, the same second machine has locally cached copies of both the first specific data and second specific data, in which case the fourth machine is the same machine as the second machine. When the first machine receives the plurality of specific data, including the first and second specific data, it combines (1230) the plurality of specific data to generate the object for use at the first machine.

In some embodiments, the plurality of specific data comprise (1232) shards of an object specified in a manifest. For example, in some implementations, the manifest is received by the first machine with, or as a result of receiving, a system management message or data distribution command. The manifest includes a list of shards that, when combined, form the object to be installed. However, as described above, in some implementations or circumstances the manifest is a file or object obtained by the first machine in response to a request generated by the first machine. As described above, the first machine may generate the request for the manifest in response to a message received from a server (e.g., by evaluating a rule include in a server management message), in response to an event in an application executed by the first machine (e.g., an automated procedure that checks for application updates), in response to a user command, etc.

In some other implementations, the manifest is referenced by a command or system management message received by the first machine, and the first machine sends a data request to obtain a copy of the manifest, using the same methodology as described above with reference to FIGS. 11A-11D to obtain any other specific data. Upon receiving the manifest, the first machine proceeds to generate and transmit data requests for the shards listed in the manifest. In some embodiments, generating the first data request by the first machine includes (1234) delaying generation of the first data request with respect to time at which the manifest is received by the first machine in accordance with a predefined request spreading method.

Under some circumstances, where the data request (see operation 1206) comprises a first data request, method 1200 includes (1236) additional operations to consolidate the first data request and a third data request when both request the same specific data. In accordance with these additional operations, a fifth machine generates (1238) the third data request to request the same specific data as the first request, after the first machine has generated the first data request. When predefined criteria in a request consolidation method are satisfied (e.g., where the first data request is still outstanding at the time the first machine receives the third data request, and both request the same specific data), the plurality of machines in the linear communication orbit forgo (1240) passing the third data request along at least a part of a respective data request path that is associated with the third data request. In these circumstances, the third data request is resolved (1242) by conveying the specific data from the second machine to the first machine, and then the first machine conveying the specific data (from the first machine) to the fifth machine.

Additionally, in some embodiments, method 1200 further comprises passing (1244) the specific data from the second machine to the first machine through a plurality of intervening machines in the linear communication orbit. Each machine of the plurality of intervening machines, located between the second machine and the first machine, caches (1246) a copy of the specific data in a local cache of the machine if (i.e., in accordance with a determination that) predefined local caching criteria are met. Stated another way, a copy of the specific data is locally cached at a subset of the intervening machines, and each intervening machine independently determines whether it should locally cache a copy of the specific data in accordance with the predefined local caching criteria.

However, in some situations, the specific data not only are passed (1248) from the second machine to the first machine through a plurality of intervening machines in the linear communication orbit, but also continue (1248) to be passed to additional machines in the linear communication orbit (e.g., machines upstream or downstream of the first machine), until the specific data are received by one of the end nodes, i.e., the head node or the tail node. A plurality of machines are selected from the plurality of intervening machines and the additional machines. Each of the plurality of machines caches (1250) a copy of the specific data in a local cache of the machine in accordance with a determination that predefined local caching criteria are met. In those situations in which the second machine is (1252) the tail node or the head node, the specific data are returned from the second machine to the first machine and conditionally stored in the plurality of machines, including the third machine (see discussion above re 1218-1222), that are coupled within the linear communication orbit and do not have the specific data (i.e., do not already have a locally cached copy of the specific data).

In one specific example, the second machine is (1254) a downstream machine between the first machine and the tail node. The data request is passed downstream from the first machine to the second machine, and the specific data are returned upstream from the second machine to the first machine. Similarly, in another specific example, the second machine is (1256) an upstream machine between the first machine and the head node, and the data request is passed from the first machine downstream to the tail node and then upstream to the second machine, and the specific data are returned downstream from the second machine to the first machine.

It should be understood that the particular order in which the operations in FIGS. 12A-12G have been described are merely exemplary and are not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to method 1100 (e.g., FIGS. 11A-11D) are also applicable in an analogous manner to method 1100 described above with respect to FIGS. 12A-12G. For brevity, these details are not repeated here.

The foregoing description has been provided with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to be limiting to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles disclosed and their practical applications, to thereby enable others to best utilize the disclosure and various embodiments with various modifications as are suited to the particular use contemplated. 

What is claimed is:
 1. A method of facilitating software updates by computational machines in a distributed system, comprising, at a server system in the distributed system: receiving update metadata from a plurality of remote servers, outside the distributed system, each remote server of the plurality of remote servers providing to the server system update metadata for different software programs than other remote servers of the plurality of remote servers; subdividing the update metadata received from a respective remote server into a plurality of distinct sets of update metadata, including a first set of update metadata and a second set of update metadata, for distinct software products or categories of software products; and sending to computational machines in the distributed system first update materials, including the first set of update metadata and first filter criteria specifying characteristics of computational machines that are to locally store the first set of update metadata, wherein the computational machines to which the first update materials are sent include computational machines that satisfy the first filter criteria and computational machines that do not satisfy the first filter criteria; wherein each respective computational machine of a plurality of computational machines that satisfy the first filter criteria locally stores the first set of update metadata, evaluates locally stored software version information in accordance with the first set of update metadata to identify a set of software update files, obtain copies of the identified set of software update files, and update one or more software programs at the respective computational machine using the obtained copies of the identified set of software update files.
 2. The method of claim 1, wherein the software version information identifies one or more software programs already installed at the respective computational machine, and prior updates that have been applied to the one or more software programs.
 3. The method of claim 1, wherein the first set of update metadata includes applicability rules for evaluating the software version information so as to identify updates that have not yet been applied to the one or more software programs.
 4. The method of claim 1, wherein the first set of update metadata includes applicability rules for evaluating the software version information so as to identify one or more groups of software update files corresponding to updates that have not yet been applied to the one or more software programs.
 5. The method of claim 1, including sending to computational machines in the distributed system second update materials, including the second set of update metadata and second filter criteria specifying characteristics of computational machines that are to locally store the second set of update metadata, wherein the computational machines to which the second update materials are sent include computational machines that satisfy the second filter criteria and computational machines that do not satisfy the second filter criteria; wherein each respective computational machine of a plurality of computational machines that satisfy the second filter criteria locally stores the second set of update metadata, evaluates locally stored software version information in accordance with the second set of update metadata to identify a second set of software update files, obtain copies of the identified second set of software update files, and update one or more software programs at the respective computational machine using the obtained copies of the identified second set of software update files.
 6. The method of claim 1, wherein sending the first update materials to computational machines in the distributed system includes sending the first update materials to a plurality of computational machines in the distributed system via a linear communication orbit, wherein the linear communication orbit comprises a linearly arranged sequence of computational machines configured to sequentially convey messages to each computational machine in the linearly arranged sequence of computational machines in the linear communication orbit.
 7. The method of claim 6, wherein the linear communication orbit includes computational machines at two end nodes, comprising a head node and a tail node, and the linear communication orbit is coupled to the server system via at least one of the computational machines at the two end nodes.
 8. The method of claim 6, wherein each respective computational machine of the plurality of computational machines that satisfies the first filter criteria is configured to: execute a plurality of software programs; execute a local server distinct from the plurality of software programs; at the local server, receive, via the linear communication orbit, the first set of update metadata; at an update module executed by the respective computational machine, the update module distinct from the local server and the plurality of software programs, receive the first set of update metadata from the local server; and evaluating software version information using the first set of update metadata to determine a set of one or more updates to be applied to one or more of the plurality of software programs; send, via the linear communication orbit, one or more requests so as to request one or more software update files corresponding to the set of one or more updates; receive the one or more software update files corresponding to the set of one or more updates; and at the update module, update the one or more of the software programs by applying the received one or more software update files to the one or more of the software programs.
 9. The method of claim 8, wherein receiving the software update files corresponding to the set of one or more updates comprises a set of operations, including: sending, via the linear communication orbit, one or more file manifest requests for file manifests corresponding to the set of one or more updates; receiving, via the linear communication orbit, in response to the one or more file manifest requests, one or more file manifests corresponding to the set of one or more updates; identifying, from the received one or more file manifests, a plurality of individual update files that are not locally stored at the respective computational machine; sending, via the linear communication orbit, shard requests for each of the individual update files that are not locally stored at the respective computational machine; receiving, via the linear communication orbit, in response to the shard requests, the requested individual update files; and combining one or more subsets of the individual update files received in response to the shard requests and individual update files, if any, already locally stored at the respective computational machine, to generate at least one of the software update files corresponding to the set of one or more updates.
 10. The method of claim 9, wherein the set of operations for receiving the software update files corresponding to the set of one or more updates is performed by a patch module distinct from the update module and the local server.
 11. The method of claim 9, wherein a respective file manifest of the one or more file manifests corresponds to two or more of the individual update files, which comprise shards of a respective software update file that when combined, form the respective software update file.
 12. The method of claim 9, wherein, prior to the respective computational machine sending the shard requests, a first plurality of shards of the individual update files are, in aggregate, locally cached at other computational machines, other than the respective computational machine, in the linear communication orbit, and wherein the individual update files received by the respective computational machine in response to the shard requests include the first plurality of shards of the individual update files, received from the other computational machines in the linear communication orbit that have locally cached one or more of the first plurality of shards of the individual update files.
 13. A server system, comprising: one or more processors; memory storing one or more programs, the one or more programs including instructions, that when executed by the one or more processors, cause the server system to perform operations including: receiving update metadata from a plurality of remote servers, the remote servers located outside a distributed system that includes the server system, each remote server of the plurality of remote servers providing to the server system update metadata for different software programs than other remote servers of the plurality of remote servers; subdividing the update metadata received from a respective remote server into a plurality of distinct sets of update metadata, including a first set of update metadata and a second set of update metadata, for distinct software products or categories of software products; and sending to computational machines in the distributed system first update materials, including the first set of update metadata and first filter criteria specifying characteristics of computational machines that are to locally store the first set of update metadata, wherein the computation machines to which the first update materials are sent include computational machines that satisfy the first filter criteria and computational machines that do not satisfy the first filter criteria; wherein each respective computational machine of a plurality of computational machines that satisfy the first filter criteria, locally stores the first set of update metadata, evaluates locally stored software version information in accordance with the first set of update metadata to identify a set of software update files, obtain copies of the identified set of software update files, and update one or more software programs at the respective computational machine using the obtained copies of the identified set of software update files.
 14. The server system of claim 13, wherein the software version information identifies one or more software programs already installed at the respective computational machine, and prior updates that have been applied to the one or more software programs.
 15. The server system of claim 13, wherein the first set of update metadata includes applicability rules for evaluating the software version information so as to identify updates that have not yet been applied to the one or more software programs.
 16. The server system of claim 13, wherein the first set of update metadata includes applicability rules for evaluating the software version information so as to identify one or more groups of software update files corresponding to updates that have not yet been applied to the one or more software programs.
 17. The server system of claim 13, wherein sending the first update materials to computational machines in the distributed system includes sending the first update materials to a plurality of computational machines in the distributed system via a linear communication orbit, wherein the linear communication orbit comprises a linearly arranged sequence of computational machines configured to sequentially convey messages to each computational machine in the linearly arranged sequence of computational machines in the linear communication orbit.
 18. A non-transitory computer readable storage medium storing one or more programs for execution by a server system having one or more processors and memory storing one or more programs, the one or more programs including instructions, that when executed by the one or more processors, cause the server system to perform operations including: receiving update metadata from a plurality of remote servers, the remote servers located outside a distributed system that includes the server system, each remote server of the plurality of remote servers providing to the server system update metadata for different software programs than other remote servers of the plurality of remote servers; subdividing the update metadata received from a respective remote server into a plurality of distinct sets of update metadata, including a first set of update metadata and a second set of update metadata, for distinct software products or categories of software products; and sending to computational machines in the distributed system first update materials, including the first set of update metadata and first filter criteria specifying characteristics of computational machines that are to locally store the first set of update metadata, wherein the computation machines to which the first update materials are sent include computational machines that satisfy the first filter criteria and computational machines that do not satisfy the first filter criteria; wherein each respective computational machine of a plurality of computational machines that satisfy the first filter criteria, locally stores the first set of update metadata, evaluates locally stored software version information in accordance with the first set of metadata to identify a set of software update files, obtain copies of the identified set of software update files, and update one or more software programs at the respective computational machine using the obtained copies of the identified set of software update files.
 19. The non-transitory computer readable storage medium of claim 18, wherein the software version information identifies one or more software programs already installed at the respective computational machine, and prior updates that have been applied to the one or more software programs.
 20. The non-transitory computer readable storage medium of claim 18, wherein the first set of update metadata includes applicability rules for evaluating the software version information so as to identify updates that have not yet been applied to the one or more software programs.
 21. The non-transitory computer readable storage medium of claim 18, wherein the first set of update metadata includes applicability rules for evaluating the software version information so as to identify one or more groups of software update files corresponding to updates that have not yet been applied to the one or more software programs.
 22. The non-transitory computer readable storage medium of claim 18, wherein the one or more programs include instructions, that when executed by the one or more processors, cause the server system to perform operations including: sending to computational machines in the distributed system second update materials, including the second set of update metadata and second filter criteria specifying characteristics of computational machines that are to locally store the second set of update metadata, wherein the computational machines to which the second update materials are sent include computational machines that satisfy the second filter criteria and computational machines that do not satisfy the second filter criteria; wherein each respective computational machine of a plurality of computational machines that satisfy the second filter criteria locally stores the second set of update metadata, evaluates locally stored software version information in accordance with the second set of update metadata to identify a second set of software update files, obtain copies of the identified second set of software update files, and update one or more software programs at the respective computational machine using the obtained copies of the identified second set of software update files.
 23. The non-transitory computer readable storage medium of claim 18, wherein sending the first update materials to computational machines in the distributed system includes sending the first update materials to a plurality of computational machines in the distributed system via a linear communication orbit, wherein the linear communication orbit comprises a linearly arranged sequence of computational machines configured to sequentially convey messages to each computational machine in the linearly arranged sequence of computational machines in the linear communication orbit.
 24. The non-transitory computer readable storage medium of claim 23, wherein the linear communication orbit includes computational machines at two end nodes, comprising a head node and a tail node, and the linear communication orbit is coupled to the server system via at least one of the computational machines at the two end nodes.
 25. The non-transitory computer readable storage medium of claim 23, wherein each respective computational machine of the plurality of computational machines that satisfies the first filter criteria is configured to: execute a plurality of software programs; execute a local server distinct from the plurality of software programs; at the local server, receive, via the linear communication orbit, the first set of update metadata; at an update module executed by the respective computational machine, the update module distinct from the local server and the plurality of software programs, receive the first set of update metadata from the local server; and evaluating software version information using the first set of update metadata to determine a set of one or more updates to be applied to one or more of the plurality of software programs; send, via the linear communication orbit, one or more requests so as to request one or more software update files corresponding to the set of one or more updates; receive the one or more software update files corresponding to the set of one or more updates; and at the update module, update the one or more of the software programs by applying the received one or more software update files to the one or more of the software programs.
 26. The server system of claim 13, wherein sending the first update materials to computational machines in the distributed system includes sending the first update materials to a plurality of computational machines in the distributed system via a linear communication orbit, wherein the linear communication orbit comprises a linearly arranged sequence of computational machines configured to sequentially convey messages to each computational machine in the linearly arranged sequence of computational machines in the linear communication orbit.
 27. The server system of claim 26, wherein the linear communication orbit includes computational machines at two end nodes, comprising a head node and a tail node, and the linear communication orbit is coupled to the server system via at least one of the computational machines at the two end nodes.
 28. The server system of claim 26, wherein each respective computational machine of the plurality of computational machines that satisfies the first filter criteria is configured to: execute a plurality of software programs; execute a local server distinct from the plurality of software programs; at the local server, receive, via the linear communication orbit, the first set of update metadata; at an update module executed by the respective computational machine, the update module distinct from the local server and the plurality of software programs, receive the first set of update metadata from the local server; and evaluating software version information using the first set of update metadata to determine a set of one or more updates to be applied to one or more of the plurality of software programs; send, via the linear communication orbit, one or more requests so as to request one or more software update files corresponding to the set of one or more updates; receive the one or more software update files corresponding to the set of one or more updates; and at the update module, update the one or more of the software programs by applying the received one or more software update files to the one or more of the software programs. 